package com.zh.domain.vo.task;

import com.zh.domain.entity.Task;
import com.zh.domain.vo.user.UserVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "TaskVo", description = "任务视图对象")
public class TaskVo extends Task implements Serializable {
    @ApiModelProperty("创建人")
    private UserVO creator;
    @ApiModelProperty("更新人")
    private UserVO updater;
    @ApiModelProperty("任务负责人")
    private UserVO owner;
    @ApiModelProperty("附件数量")
    private Integer attachCount;
}
